home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Developer University / DU Projects / DataSave / Sources / PartInfo.fr < prev    next >
Encoding:
Text File  |  1996-08-22  |  2.0 KB  |  98 lines  |  [TEXT/CWIE]

  1. //========================================================================================
  2. //
  3. //    File:                PartInfo.fr
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWRESFIL_K
  11. #include "FWResFil.k"
  12. #endif
  13.  
  14. #ifndef FWPART_FR
  15. #include "FWPart.fr"
  16. #endif
  17.  
  18. #ifndef DEFINES_K
  19. #include "Defines.k"
  20. #endif
  21.  
  22. #ifndef BINDING_K
  23. #include "Binding.k"
  24. #endif
  25.  
  26. #ifndef SLGCONST_K
  27. #include "SLGConst.k" 
  28. #endif
  29.  
  30. #ifndef FWVIEWS_FR
  31. #include "FWViews.fr"
  32. #endif
  33.  
  34. //----------------------------------------------------------------------------------------
  35. //    PartInfo Resource
  36. //----------------------------------------------------------------------------------------
  37.  
  38. resource FW_RPartInfo(kPartInfoID)
  39. {
  40.     // ----- Icon ID
  41.     kPartIconID,
  42.     
  43.     // ----- MenuBar ID
  44.     0,
  45.     
  46.     // ----- Document Window ID
  47.     0,
  48.     
  49.     // ----- Part Name
  50.     kDataSaveKindUserString,
  51.     
  52.     // ----- PartKind
  53.     kDataSaveKind
  54. };
  55.  
  56. //----------------------------------------------------------------------------------------
  57. //    About Resource
  58. //----------------------------------------------------------------------------------------
  59.  
  60. resource FW_RAbout(kAbout)
  61. {
  62.     // ----- Icon ID
  63.     130,                                                        
  64.     // ----- Part Name
  65.     FW_RStyledText
  66.     (
  67.         FW_FIX(18), 
  68.         FW_kBold, 
  69.         "times", 
  70.         "DataSave"
  71.     ),
  72.     // ----- Version Number
  73.     FW_RStyledText
  74.     (
  75.         FW_FIX(9),
  76.         FW_kPlain,
  77.         "geneva",
  78.         "ODF Release 2"
  79.     ),
  80.     // ----- Credits
  81.     FW_RStyledText
  82.     (
  83.         FW_FIX(9),
  84.         FW_kPlain,
  85.         "geneva",
  86.         "DataSave....\r"                                    
  87.         "Normally uses Undoable commands.\r"
  88.         "Hold down shift to not use commands.\r"                                    
  89.         "Normally draws only pizzas that intersect invalid rect.\r"
  90.         "Hold down command to draw all pizzas.\r"                                
  91.         "Hold down command when saving to see # of pizzas.\r"                                    
  92.         "Written by Dave Wilson.\r© 1993-96 Apple Computer, Inc., all rights reserved."
  93.     ),
  94.     // ----- ButtonString
  95.     "OK",
  96.     // ----- ButtonSize
  97.     {FW_FIX(80), FW_FIX(30)}
  98. };